// -----------------------------------------------
// Author:     code34 nicolas_boiteux@yahoo.fr
// Edited by:  Neumatic
// Warcontext: Write the motd
// -----------------------------------------------

private ["_presetdlg"];

if (isNil "wcmotd") then {
	wcmotd = [];
};

if (name player in wcinteam) then {
	_presetdlg = createDialog "RscDisplaypaperboard";
} else {
	wcgarbage = ["Informations of the day", "Only members of team can write informations of the day", "Wait to be recruit as team member", 10] spawn WC_fnc_playerhint;
};